package com.objcat.servicesecurity.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: HelloController
 * Description:
 * <p>
 * date: 2020/7/28 10:32
 *
 * @author misheep
 * @since JDK 1.8
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }
    @RequestMapping("/gate")
    public String gate(){
        return "gateway in service-s";
    }

}
